﻿using Alos.IRepository;
using Alos.IService;
using PetaPoco;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Alos.Entity;
using Alos.Common;

namespace Alos.Service
{
    public class BasicClassInfoService : BaseService<BasicClassInfo>, IBasicClassInfoService
    {
        IBasicClassInfoRepository BasicClassInfoRepository;
        public BasicClassInfoService(IBasicClassInfoRepository _BasicClassInfoRepository)
        {
            BasicClassInfoRepository = _BasicClassInfoRepository;
        }
        public IEnumerable<dynamic> GetBasicClassInfoByUid(int id)
        {
            return BasicClassInfoRepository.GetBasicClassInfoByUid(id);
        }


        public IEnumerable<dynamic> GetClassById(string Id)
        {
            return BasicClassInfoRepository.GetClassById(Id);
        }
    }
}
